package com.purchase.ml.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * Created by kyyang on 2021/1/19 21:57
 */
@Slf4j
@Component
public class TestTask {

//    @Scheduled(cron = "0 */1 * * * ?")
    //@Scheduled(cron = "0 */1 * * * ?") 每天23点执行一次：0 0 23 * * ?
//    @PostConstruct
//    public  void  test(){
//
//    }


}
